package com.ruoyi.agriculture.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品销售对象 agriculture
 * 
 * @author z
 * @date 2025-08-25
 */
public class Agriculture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long agricultureId;

    /** 物品id */
    @Excel(name = "物品id")
    private Long goodsId;

    /** 种类 */
    @Excel(name = "种类")
    private String kind;

    /** 名称 */
    @Excel(name = "名称")
    private String agricultureName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String image;

    /** 数量 */
    @Excel(name = "数量")
    private Long account;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    /** 状态 0:未完成，1:已完成 */
    @Excel(name = "状态 0:未完成，1:已完成")
    private Long status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long isDeleted;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createUser;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateUser;

    public void setAgricultureId(Long agricultureId) 
    {
        this.agricultureId = agricultureId;
    }

    public Long getAgricultureId() 
    {
        return agricultureId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setKind(String kind) 
    {
        this.kind = kind;
    }

    public String getKind() 
    {
        return kind;
    }
    public void setAgricultureName(String agricultureName) 
    {
        this.agricultureName = agricultureName;
    }

    public String getAgricultureName() 
    {
        return agricultureName;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setAccount(Long account) 
    {
        this.account = account;
    }

    public Long getAccount() 
    {
        return account;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("agricultureId", getAgricultureId())
            .append("goodsId", getGoodsId())
            .append("kind", getKind())
            .append("agricultureName", getAgricultureName())
            .append("image", getImage())
            .append("account", getAccount())
            .append("price", getPrice())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("isDeleted", getIsDeleted())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
